In a right angled triangle sin(val) = Opposite / Hypotenuse where val is one of the three angles.
sin(val);
Real
val = sin( pi/2 );
This will set val to 1.